package com.egao.common.publicly.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 单位发布信息VO
 * @author pyx
 */
@Data
public class PubliclyCareerVO {
    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty("推送id")
    private Integer pushMsgId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("点击量")
    private Integer hits;

    @ApiModelProperty("举办时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date holdTime;

    @ApiModelProperty("举办地点")
    private String holdAddress;

    @ApiModelProperty("举办地点")
    private String holdSchool;

    @ApiModelProperty("单位ID")
    private Integer companyId;

    @ApiModelProperty("单位名称")
    private String companyName;

    @ApiModelProperty("单位性质")
    private String nature;

    @ApiModelProperty("单位规模")
    private String scale;

    @ApiModelProperty("招聘信息有效期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date validTime;

    @ApiModelProperty("报名人数限制")
    private Integer applyNum;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("时间是否已过，0否，1是")
    private Integer timeState;

    @ApiModelProperty("信息类型 1校内宣讲会 2空中宣讲会 3校内双选会")
    private String type;

    @ApiModelProperty("推送类型 1招聘会 2宣讲会 3空中宣讲会")
    private String matchingType;

    @ApiModelProperty("匹配度")
    private String matching;

    @ApiModelProperty("招聘类型 1在线招聘 2实习信息")
    private String recruitType;

    @ApiModelProperty("日历几号")
    private String day;

    @ApiModelProperty("职位名称")
    private String positionNames;

    @ApiModelProperty("学历限制")
    private String education;

    @ApiModelProperty("相关专业")
    private String majors;

    @ApiModelProperty("招聘人数")
    private String number;

    @ApiModelProperty("是否查询今日推送信息 0是 1否")
    private String today;

    @ApiModelProperty("推送时间起始值")
    private String pushDateStart;

    @ApiModelProperty("推送时间结束值")
    private String pushDateEnd;

    @ApiModelProperty(value = "过期状态 0有效 1已过期", notes = "定时任务更新此字段")
    private String overdue;
}
